Circuits and methods for current sensing

ABSTRACT

A current sensing circuit includes a first resistor, a second resistor and a sense amplifier. The first resistor converts a current flowing through the first resistor to a voltage drop between positive and negative sides of the first resistor. The second resistor is coupled to the negative side of the first resistor. The sense amplifier is coupled to the positive side of the first resistor via a first pin of the sense amplifier, and coupled to the negative side of the first resistor through the second resistor via a second pin of the sense amplifier. The sense amplifier employs a negative feedback to generate a sensing current proportional to the current flowing through the first resistor.

RELATED APPLICATION

This application claims priority to U.S. Provisional Application No.61/072,617, filed on Apr. 1, 2008, which is hereby incorporated byreference in its entirety.

BACKGROUND

Current sensing circuits are included in electric circuits for detectingcurrent conditions. For example, current sensing circuits implemented inDC/DC converters sense a load current such that the load current can becontrolled. Generally, DC/DC converters utilize an internal resistiveelement (e.g., an internal resistor or inductor direct currentresistance (DCR)) to sense the load current. However, this approach maybe inadequate for highly accurate applications since the internalresistive element is process-dependent and meanwhile suffers from athermal coefficient different with discrete resistive elements inexternal circuits. In other circumstances, regular voltage amplifiersare utilized in current sensing circuits to enlarge the voltage of theinternal resistive element and convert the enlarged voltage into acurrent for subsequent signal processing. However, regular voltageamplifiers tend to impose stability concerns on current sensing.

SUMMARY

In one embodiment, a current sensing circuit includes a first resistor,a second resistor and a sense amplifier. The first resistor converts acurrent flowing through the first resistor to a voltage drop betweenpositive and negative sides of the first resistor. The second resistoris coupled to the negative side of the first resistor. The senseamplifier is coupled to the positive side of the first resistor via afirst pin of the sense amplifier, and coupled to the negative side ofthe first resistor through the second resistor via a second pin of thesense amplifier. The sense amplifier employs a negative feedback togenerate a sensing current proportional to the current flowing throughthe first resistor.

BRIEF DESCRIPTION OF THE DRAWINGS

Advantages of the present invention will be apparent from the followingdetailed description of exemplary embodiments thereof, which descriptionshould be considered in conjunction with the accompanying drawings, inwhich:

FIG. 1 is a schematic diagram of a current sensing circuit according toone embodiment of the present invention.

FIG. 2 is schematic diagram of an over current protection (OCP) circuitaccording to one embodiment of the present invention.

FIG. 3 is a schematic diagram of a load line control circuit accordingto one embodiment of the present invention.

FIG. 4 a schematic diagram of a current monitor circuit according to oneembodiment of the present invention.

FIG. 5 is a flow chart of a method for current sensing according to oneembodiment of the present invention,

DETAILED DESCRIPTION

Reference will now be made in detail to embodiments of the presentinvention. While the invention will be described in conjunction with theembodiments, it will be understood that they are not intended to limitthe invention to these embodiments. On the contrary, the invention isintended to cover alternatives, modifications and equivalents, which maybe included within the spirit and scope of the invention as defined bythe appended claims.

FIG. 1 illustrates a schematic diagram of a current sensing circuit 100according to one embodiment of the present invention. The currentsensing circuit 100 includes a current mirror 101, an amplifier 103, atransistor 105, an external resistor 107, and a sense resistor 109, inone embodiment. The current sensing circuit 100 is used to sense thecurrent flowing through an electronic component. For example, theelectronic component can be an inductor 111 in a DC/DC converter.

To sense the inductor current, the sense resistor 109 is coupled inseries with the inductor 111 at the left side of a capacitor 115. As theinductor current flows through the sense resistor 109, a sensing voltageVsense equal to I_(L)*Rsense is produced across the sense resistor 109,where I_(L) is the inductor current and Rsense is the resistance of thesense resistor 109. In other words, a voltage drop Vsense equal toI_(L)*Rsense is produced between positive and negative sides of thesense resistor 109. Furthermore, the positive side of the sense resistor109 is coupled to the non-inverting terminal of the amplifier 103, inone embodiment. The negative side of the sense resistor 109 is coupledto the inverting terminal of the amplifier 103 through the externalresistor 107, in one embodiment.

The output terminal of the amplifier 103 is coupled to the gate of thetransistor 105. The drain of the transistor 105 is coupled to thecurrent mirror 101, and the source of the transistor 105 is coupled tothe inverting terminal of the amplifier 103. As such, the transistor 105is used as a negative feedback circuit for the amplifier 103, and theamplifier 103 and the transistor 105 constitute a voltage follower. Inother words, the voltage at the inverting terminal of the amplifier 103is forced to be equal to the voltage at the non-inverting terminal ofthe amplifier 103 by the negative feedback circuit. As such, the voltagedrop applied on the external resistor 107 is also substantially equal toVsense. Therefore, a current substantially equal to Vsense/Rg is formedto flow from the negative feedback circuit to the external resistor 107,where Rg is the resistance of the external resistor 107. As such, thecurrent flowing through the transistor 105 is also substantially equalto Vsense/Rg. The current flowing through the transistor 105 is furtherduplicated by the current mirror 101 and output on an output line 113 asa sensing current Isense, in one embodiment. Accordingly, the sensingcurrent Isense can be given by

Isense=Vsense/Rg=I _(L) ×Rsense/Rg.   (1)

In the example of FIG. 1, the sense resistor 109 is coupled between theinductor 111 and the capacitor 115. Alternatively, the sense resistor109 can be coupled in series with the inductor 111 at the right side ofthe capacitor 115. In this instance, a load current I_(load), e.g.,which represents a current flowing through a load of the DC/DC converteris equal to the inductor current I_(L) plus Isense. Given byRsense/Rg>>1, practical implementation of Isense can be negligible.Thus, I_(load) is approximately equal to I_(L.) Accordingly, the sensingcurrent Isense can be given by

Isense=Vsense/Rg=I _(load) ×Rsense/Rg,   (2)

In practical implementation, the current mirror 101, the amplifier 103and the transistor 105 can be integrated together as a sense amplifier120. The sense amplifier 120 can interface with the external resistor107 and the sense resistor 109 respectively via a CSP pin and a CSN pin.As such, a gain of the sense amplifier 120 can be determined by externalcomponents (the external resistor 107 and the sense resistor 109). Dueto the configurability and stability of the external resistor 107 andthe sense resistor 109, the gain of the sense amplifier 120 is useradjustable and relatively time stable, in one embodiment. In oneembodiment, because both the external resistor 107 and the senseresistor 109 are placed externally, accuracy issue caused by thedifferent thermal coefficient of internal resistive elements can beresolved. In one embodiment, the external resistor 107 and/or the senseresistor 109 can be temperature-dependent (thermistors) such that thethermal drift of current sensing element (Inductor DCR sensing) withinthe DC/DC converter can be compensated to maintain the stability of thesensing current Isense.

Advantageously, besides the sensing current Isense on the output line113, additional sensing current outputs can be obtained from the currentmirror 101. These sensing current outputs can be used in a variety ofapplications, such as over current protection, load line control andcurrent monitor.

FIG. 2 illustrates a schematic diagram of an over current protection(OCP) circuit 200 according to one embodiment of the present invention.The OCP circuit 200 includes a comparator 201 and an OCP resistor 203.In one embodiment, the OCP circuit 200 can be used in a DC/DC converter.The OCP resistor 203 is coupled between the non-inverting terminal ofthe comparator 201 and ground.

In operation, the sensing current Isense flows through the OCP resistor203. Accordingly, a voltage Vocp equal to Isense*Rocp is produced acrossthe OCP resistor 203, where Rocp is a resistance of the OCP resistor203. Furthermore, a reference voltage Vref with a substantially constantvoltage level is provided to the inverting terminal of the comparator201. In one embodiment, the reference voltage Vref can be 400 mv. Thecomparator 201 detects whether an over current condition occurs bycomparing the voltage Vocp with the reference voltage Vref.

In one embodiment, the over current condition occurs if the voltage Vocpreaches the reference voltage Vref, that is

Isense×Rocp=Vref.   (3)

Substituting equation (2) to equation (3), a current limit I_(LIM) ofthe load current I_(load) which incurs the over current condition can begiven by

$\begin{matrix}{I_{LIM} = {\frac{{Vref} \times {Rg}}{{Rocp} \times {Rsense}}.}} & (4)\end{matrix}$

The comparator 201 can output a signal OCP indicative of the overcurrent condition if the load current I_(load) reaches the current limitI_(LIM). According to equation (4), the current limit I_(LIM) isdetermined by the external components Vref, Rocp, Rg and Rsense. Due tothe configurability of these external components, the current limitI_(LIM) can be set or adjust to be compliant with various applications.

FIG. 3 illustrates a schematic diagram of a load line control circuit300 according to one embodiment of the present invention. The load linecontrol circuit 300 includes a remote sense amplifier RSA 301 and anexternal resistor 303. In one embodiment, the load line control circuit300 can be used in an electronic circuit to achieve relatively stableand accurate output impedance.

In one embodiment, the electronic circuit can be a DC/DC converter. Inthe example of FIG. 2, lines RFB+ and RFB− are coupled to the electroniccircuit using the Kelvin connection to receive a feedback signal whichrepresents a load voltage of the electrical circuit. The line RFB+ isfurther coupled to the non-inverting terminal of the remote senseamplifier RSA 301 through the external resistor 303. The line RFB− iscoupled to the inverting terminal of the remote sense amplifier RSA 301.The sensing current Isense indicative of the load current of theelectrical circuit is injected to the load line control circuit 300 viaa RSP pin. In one embodiment, the remote sense amplifier RSA 301 can beintegrated into an IC and interfaces with external components via theRSP pin and RSN pin. The output of the remote sense amplifier RSA 301can be compared to a reference signal, e.g., to control power deliveredto the load. The power delivered to the load can be limited or adjustedcontinuously or in steps.

In operation, a substantially constant voltage difference between pinsRSP and RSN can be achieved by a voltage positioning function inherentwith the load line control circuit 300. In this instance, if the loadcurrent changes, the voltage variation of the feedback signal (the loadvoltage) can be offset by the voltage variation across the externalresistor 303. Accordingly, the output resistance of the DC/DC convertercan be given by

$\begin{matrix}{{R_{loadline} = {\frac{\Delta \; V_{load}}{\Delta \; I_{load}} = {R_{LL} \times {{Rsense}/{Rg}}}}},} & (5)\end{matrix}$

where R_(loadline) is the output resistance and R_(LL) is the resistanceof the external resistor 303. According to equation (5), the outputresistance R_(loadline) is determined by the external resistors,resulting in a relatively accurate and stable value of R_(loadline).Furthermore, if the load current increases, the sensing current Isenseincreases according to equation (2) and the voltage across the externalresistor 303 will increase with the increased sensing current Isense.Accordingly, the output of the remote sense amplifier RSA 301 candecrease the load voltage to maintain the constant voltage differencebetween the pins RSP and RSN. As a result, power delivered to the loadof the electronic circuit is controlled. Furthermore, the load canconsume less power compared with the situation where the load current isincreased while the load voltage keeps the same. Therefore, the powerefficiency of the electrical circuit can be enhanced.

FIG. 4 illustrates a schematic diagram of a current monitor circuit 400according to one embodiment of the present invention. The currentmonitor circuit 400 includes an external resistor 401 and an externalresistor 403 coupled in series between a reference voltage source Vref1and ground. In one embodiment, the current monitor circuit 400 is usedin a DC/DC converter to provide a voltage V_(IMON) indicative of theload current at the IMON node. The voltage V_(IMON) can be given by

$\begin{matrix}{{V_{IMON} = {{{Vref}\; 1 \times \frac{Rb}{{Ra} + {Rb}}} + {I_{load} \times \frac{Rsense}{Rg} \times \frac{RaRb}{{Ra} + {Rb}}}}},} &  6 )\end{matrix}$

where Ra is a resistance of the external resistor 401 and Rb is aresistance of the external resistor 403.

FIG. 5 illustrates a flow chart 500 of a method for current sensingaccording to one embodiment of the present invention. Although specificsteps are disclosed in FIG, 5, such steps are exemplary. That is, thepresent invention is well suited to performing various other steps orvariations of the steps recited in FIG. 5. FIG. 5 is described incombination with FIG. 1.

In block 501, a current flowing through a first resistor is converted toa voltage drop between positive and negative sides of the firstresistor, in one embodiment, the inductor current I_(L) flowing throughthe sense resistor 109 is converted to the voltage drop Vsense betweenpositive and negative sides of the sense resistor 109.

In block 503, the voltage at the positive side of the first resistor isapplied to a first pin of a sense amplifier. In one embodiment, thevoltage at the positive side of the sense resistor 109 is applied to theCSP pin of the sense amplifier 120, which includes the amplifier 103,the transistor 105 and the current mirror 101.

In block 505, the voltage at the negative side of the first resistor isapplied to a second pin of the sense amplifier through a secondresistor. In one embodiment, the voltage at the negative side of thesense resistor 109 is applied to the CSN pin of the sense amplifier 120through the external resistor 107.

In block 507, the sense amplifier employs a negative feedback to causethe voltage at the second pin to follow the voltage at the first pin. Inone embodiment, the transistor 105 is coupled to the amplifier 103 toform a negative feedback circuit, such that the amplifier 103 becomes avoltage follower to cause the voltage at the CSN pin to follow thevoltage at the CSP pin.

In block 509, a sensing current proportional to the current flowingthrough the first resistor is generated by the sense amplifier. In oneembodiment, the current mirror 101 included in the sense amplifiergenerates the current equal to I_(L)*Rsense/Rg to flow from thetransistor 105 to the external resistor 107. Due to the inherentduplication function of the current mirror 101, the sensing currentflowing through the output line 113 of the current mirror 101 is alsoequal to I_(L)*Rsense/Rg, which is proportional to the current I_(L)flowing through the sense resistor 109.

The terms and expressions which have been employed herein are used asterms of description and not of limitation, and there is no intention,in the use of such terms and expressions, of excluding any equivalentsof the features shown and described (or portions thereof), and it isrecognized that various modifications are possible within the scope ofthe claims. Other modifications, variations, and alternatives are alsopossible. Accordingly, the claims are intended to cover all suchequivalents.

1. A circuit comprising: a first resistor for converting a currentflowing through said first resistor to a voltage drop between positiveand negative sides of said first resistor; a second resistor coupled tosaid negative side of said first resistor; and a sense amplifier coupledto said positive side of said first resistor via a first pin of saidsense amplifier and coupled to said negative side of said first resistorthrough said second resistor via a second pin of said sense amplifier,and for employing a negative feedback to generate a sensing currentproportional to said current flowing through said first resistor.
 2. Thecircuit of claim 1, wherein said sense amplifier further comprises: avoltage follower coupled to said first and second pins via non-invertingand inverting terminals of said voltage follower respectively to cause avoltage at said second pin to follow a voltage at said first pin; and acurrent mirror coupled to said voltage follower to provide said sensingcurrent proportional to said current flowing through said firstresistor.
 3. The circuit of claim 1, wherein a ratio between saidsensing current and said current flowing through said first resistor isdetermined by resistances of said first and second resistors.
 4. Thecircuit of claim 1, further comprising: a third resistor for convertingsaid sensing current to an input voltage; a comparator coupled to saidthird resistor for generating a signal indicative of an over currentcondition by comparing said input voltage with a reference voltage. 5.The circuit of claim 4, wherein a limit current incurring said overcurrent condition is determined by said reference voltage andresistances of said first, second and third resistors.
 6. The circuit ofclaim 1, further comprising: a third resistor for converting saidsensing current to a voltage across said third resistor, wherein saidsensing current indicates a load current of an electronic circuit; and aremote sense amplifier coupled to said electronic circuit through saidthird resistor for stabilizing an output impedance of said electroniccircuit based on said voltage across said third resistor.
 7. The circuitof claim 6, wherein a variation in said voltage across said thirdresistor offsets a variation in a load voltage of said electroniccircuit to stabilize said output impedance.
 8. The circuit of claim 6,wherein said output impedance is determined by resistances of saidfirst, second and third resistors.
 9. The circuit of claim 6, whereinsaid electronic circuit comprises a DC/DC converter.
 10. The circuit ofclaim 6, wherein a load voltage of said electrical circuit decreases inaccordance with an increase in said voltage across said third resistorif said load current increases.
 11. The circuit of claim 1, furthercomprising: third and fourth resistors coupled in series between areference voltage source and ground; and a monitor node coupled to aconjunction node of said third and fourth resistors for receiving saidsensing current and for providing a voltage at said monitor nodeindicative of a current at said monitor node.
 12. A method comprising:converting a current flowing through a first resistor to a voltage dropbetween positive and negative sides of said first resistor; applying avoltage at said positive side of said first resistor to a first pin of asense amplifier; applying a voltage at said negative side of said firstresistor to a second pin of said sense amplifier through a secondresistor; employing a negative feedback by said sense amplifier to causesaid voltage at said second pin to follow said voltage at said firstpin; and generating a sensing current proportional to said currentflowing through said first resistor by said sense amplifier.
 13. Themethod of claim 12, wherein a ratio between said sensing current andsaid current flowing through said first resistor is determined byresistances of said first and second resistors.
 14. The method of claim12, further comprising: converting said sensing current to an inputvoltage; and comparing said input voltage with a reference voltage togenerate a signal indicative of an over current condition.
 15. Themethod of claim 12, further comprising: converting said sensing currentto a voltage across a third resistor, wherein said sensing currentindicates a load current of an electronic circuit; and offsetting avariation in a load voltage of said electronic circuit by a variation insaid voltage across said third resistor to stabilize an output impedanceof said electronic circuit.
 16. A system comprising: a DC/DC converterfor providing a load current to a load; a first resistor coupled to saidDC/DC converter for sensing said load current; a second resistor coupledto said first resistor; and a sense amplifier coupled to a positive sideof said first resistor directly via a first pin of said sense amplifierand to a negative side of said first resistor through said secondresistor via a second pin of said sense amplifier, said sense amplifieremploying a negative feedback to generate a sensing current proportionalto said load current.
 17. The circuit of claim 16, wherein said senseamplifier further comprises: a voltage follower coupled to said firstand second pins via non-inverting and inverting terminals of saidvoltage follower respectively to cause a voltage at said second pin tofollow a voltage at said first pin; and a current mirror coupled to saidvoltage follower to provide said sensing current proportional to saidcurrent flowing through said first resistor.
 18. The system of claim 16,further comprising: an over current protection circuit for receivingsaid sensing current and for protecting said DC/DC converter from anover current condition based on said sensing current.
 19. The system ofclaim 16, further comprising: an output line control circuit forreceiving said sensing current and for stabilizing an output impedanceof said DC/DC converter based on said sensing current.
 20. The system ofclaim 16, further comprising: a current monitor circuit for receivingsaid sensing current and for monitoring a current at a monitor node ofsaid DC/DC converter based on said sensing current.
 21. A methodcomprising: converting a current flowing through a first resistor to afirst voltage drop across said first resistor; providing said firstvoltage drop to a sense amplifier; applying a second voltage drop equalto said first voltage drop to a second resistor by said sense amplifier;and generating a sensing current proportional to said current flowingthrough said first resistor by said applying.
 22. The method of claim23, further comprising: employing a negative feedback by said senseamplifier to generate said second voltage drop.